package com.ruifu.common.po;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目、任务关联数据对象实体类
 */
@Data
public class PmPtObject implements Serializable {

  private static final long serialVersionUID = 459533570552443664L;
  private Long poId;  //表ID
  private Long poPtId;  //项目或任务或活动ID
  private String poIOType;  //输入I，输出O，参考R
  private Long poObjId; //对象ID
  private Long poObjTypeId; //对象类型ID
  private String poObjClass;  //对象类别（文档D，零部件P）
  private Long poSourceId;  //来源任务ID
  private String poRemark;  //对象说明
  private Boolean poIsMust;   //是否必须

  //基本属性定义
  private Long poCreator;   //创建者id
  private Date poCreDate;     //创建时间
  private Long poLastUpdator;   //最后修改人id
  private Date poLastUpdate;     //最后修改日期
  private Long poOwner;   //所有者ID
  private Long poOrgId;   //所属部门ID
  private Boolean poDelFlag;   //删除标记 T/F
  private Long poSetSid;   //账套I

  private DmDocc dmDocc;//文档类型对象
  private DmDocVer dmDocVer;//文档对象
  private PmPtMain pmPtMain;//项目对象


}
